home *** CD-ROM | disk | FTP | other *** search
-
- ConfigDemo
- ==========
-
- Public Domain
-
- ConfigDemo is a small Oberon module which demonstrates reasding and
- writing configuration files in the Interchange-File-Format (IFF).
-
- It is supported by a part of Olaf `Olsen' Barthels TERM, but not only
- reads one chunk type, but some diverent.
-
- THe gag: Oberon programmers just have to change some trifles and will
- get a module that raed and writes their configs. Only the filename
- has to be figured out by yourself :-)
-
-
- Why save a configuration as IFF file?
-
- - 'cause the style guide says so (only a poor reason :-)
-
- - 'couse you get high security by minimal afford.
- Olsen writes (I hope he doesn't mind I quote him):
-
- At the beginning I just wanted to use the iffparse.library but
- meanwhile it apeared that it's quiet usefull if man can extend
- back on the libraries parsing routines.
- So `term' gets no trouble to read older configurations (naja,
- let's say since Version 1.6), cause automaticly there is only
- read what can be read and the rest is filled up with defaults.
- Additionally with the property chunks arange a lot. E.g. I added
- a password function to the phone-book in V 2.0. The phone-book
- format is the same, only the PASS chunk has been added. Since the
- passwort implementation has had some bugs, I substituded this
- chunk completely through a new one in V 2.1.
- `term' reads the old format too, without annoying myself much, to
- analyse the file format, search for magic cookies, test or change
- check sums. The advantage of IFF files is that man can capsule
- all needed information, exchange and expant them, without need to
- destroy any other information in the file.
- (translation by
- hartmut)
-
- +++hartmut
-
-